﻿<UserControl xmlns:my="clr-namespace:UnityEditor.Controls.ComponentControl"  x:Class="UnityEditor.Controls.InspectorControl.InspectorControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:UnityEditor.Controls.InspectorControl"
             mc:Ignorable="d" 
             x:Name="hierarchyControl"
             d:DesignHeight="300" 
             d:DesignWidth="300">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <StackPanel Grid.Row="0" Orientation="Horizontal">
            <Button x:Name="SavePrefabButton" Click="SavePrefab">
                <TextBlock Text="Save Prefab"></TextBlock>
            </Button>
        </StackPanel>
        
        <ScrollViewer Grid.Row ="1"  VerticalScrollBarVisibility="Auto">
            <StackPanel x:Name="StackPanel" Orientation="Vertical">
            </StackPanel>
        </ScrollViewer>
    </Grid>

</UserControl>
